<case value="user_number">
<div class="input-group input">
<span class="input-group-addon" id="check_usernumber_btn" style="cursor:pointer;">验证编号</span>
<input class="form-control  text" name="username" id="user_number" type="text" value="{$[type]form.value}" />
</div>
<script type="text/javascript">
$('#check_usernumber_btn').click(function(){
	var usernumber=$("#user_number").val();
	if(usernumber){
		$.getJSON("{:U('Api/Ajax/check_usernumber_js')}",{usernumber:usernumber},function(json){
			alert(json.msg);
	    });	
	}else{
		alert('请输入用户编号');
	}
	
});
</script>
</case>




 